package cn.ranko.api;

import cn.ranko.framework.core.RankoServer;

/**
 * Created by zhujun on 2016/8/11.
 *
 * 测试地址：http://localhost:8200/api-demo/test.action
 * 内容返回：{"demoId":1,"demoStr":"test1"}
 *
 */
public class ApiServer {

    private static RankoServer server;

    public static void main(String[] args) throws Exception {
        int serverPort = Integer.parseInt(args.length > 0 && args[0] != null ? args[0] : "8200");
        server = new RankoServer(serverPort);
        server.start();
    }

}
